package com.kingint.web.admin.serve.service;

import com.kingint.mbg.ser.entity.SerReceiveWorkMiddle;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 工单总表与接单人中间表（为了首页查询方便做冗余） 服务类
 * </p>
 *
 * @author wxh
 * @since 2021-01-08
 */
public interface SerReceiveWorkMiddleService extends IService<SerReceiveWorkMiddle> {

    /**
     * 添加总单与接单人员中间表
     * @param serReceiveWorkMiddle
     * @return
     */
    int insertReceiveWorkInfo(SerReceiveWorkMiddle serReceiveWorkMiddle);

    /**
     * 更新对应中间表信息
     * @param serReceiveWorkMiddle
     * @return
     */
    int updateReceiveWorkInfo(SerReceiveWorkMiddle serReceiveWorkMiddle);

    /**
     * 更新中间表相关的信息
     * @param serReceiveWorkMiddle
     * @return
     */
    int updateWorkInfo(SerReceiveWorkMiddle serReceiveWorkMiddle);

}
